<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>tft: Tft_v5_0</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.gif"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">tft
   </div>
   <div id="projectbrief">Xilinx SDK Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__tft__v5__0.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">Tft_v5_0</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_tft___config.html">XTft_Config</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">This structure holds the Device base address, video memory base address and Unique identifier of the device.  <a href="struct_x_tft___config.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_tft.html">XTft</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">This structure is the base for whole of the operations that are to be performed on the TFT screen.  <a href="struct_x_tft.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga547452270c1b3d9df4af6ceb9f347684"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga547452270c1b3d9df4af6ceb9f347684">XTFT_ASCIICHAR_OFFSET</a>&#160;&#160;&#160;32</td></tr>
<tr class="memdesc:ga547452270c1b3d9df4af6ceb9f347684"><td class="mdescLeft">&#160;</td><td class="mdescRight">As the first bitmap available in the Character Bitmap array is "space" whose value is 32 in the ASCII character table, this offset enables us to move to this first character in the array.  <a href="#ga547452270c1b3d9df4af6ceb9f347684">More...</a><br /></td></tr>
<tr class="separator:ga547452270c1b3d9df4af6ceb9f347684"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf4d426ca83e1b41f324d732fbdabfae6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#gaf4d426ca83e1b41f324d732fbdabfae6">XTFT_DEF_FGCOLOR</a>&#160;&#160;&#160;0x00FFFFFF</td></tr>
<tr class="memdesc:gaf4d426ca83e1b41f324d732fbdabfae6"><td class="mdescLeft">&#160;</td><td class="mdescRight">The default color is white for foreground and black for background.  <a href="#gaf4d426ca83e1b41f324d732fbdabfae6">More...</a><br /></td></tr>
<tr class="separator:gaf4d426ca83e1b41f324d732fbdabfae6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6802361cad5f41ab4686e2184bb06d62"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga6802361cad5f41ab4686e2184bb06d62">XTFT_DEF_BGCOLOR</a>&#160;&#160;&#160;0x0</td></tr>
<tr class="memdesc:ga6802361cad5f41ab4686e2184bb06d62"><td class="mdescLeft">&#160;</td><td class="mdescRight">Background Color - Black.  <a href="#ga6802361cad5f41ab4686e2184bb06d62">More...</a><br /></td></tr>
<tr class="separator:ga6802361cad5f41ab4686e2184bb06d62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaaeaf77de0c8548663003c19c3b772a25"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#gaaeaf77de0c8548663003c19c3b772a25">XTFT_DEF_COLVAL</a>&#160;&#160;&#160;0x0</td></tr>
<tr class="memdesc:gaaeaf77de0c8548663003c19c3b772a25"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default Column Value.  <a href="#gaaeaf77de0c8548663003c19c3b772a25">More...</a><br /></td></tr>
<tr class="separator:gaaeaf77de0c8548663003c19c3b772a25"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga095e9f2723ddfa46427fcdf9e1209204"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga095e9f2723ddfa46427fcdf9e1209204">XTFT_DEF_ROWVAL</a>&#160;&#160;&#160;0x0</td></tr>
<tr class="memdesc:ga095e9f2723ddfa46427fcdf9e1209204"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default Row Value.  <a href="#ga095e9f2723ddfa46427fcdf9e1209204">More...</a><br /></td></tr>
<tr class="separator:ga095e9f2723ddfa46427fcdf9e1209204"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga65c06a5c7f78dcca1f2574fd4de631a0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga65c06a5c7f78dcca1f2574fd4de631a0">GenPixels</a>(a7,  a6,  a5,  a4,  a3,  a2,  a1,  a0)</td></tr>
<tr class="memdesc:ga65c06a5c7f78dcca1f2574fd4de631a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compression method for the character bitmaps.  <a href="#ga65c06a5c7f78dcca1f2574fd4de631a0">More...</a><br /></td></tr>
<tr class="separator:ga65c06a5c7f78dcca1f2574fd4de631a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6da9efdd6a18854c2994f2260e2b1482"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga6da9efdd6a18854c2994f2260e2b1482">XTFT_CHAR_WIDTH</a>&#160;&#160;&#160;8</td></tr>
<tr class="memdesc:ga6da9efdd6a18854c2994f2260e2b1482"><td class="mdescLeft">&#160;</td><td class="mdescRight">Dimension Definitions.  <a href="#ga6da9efdd6a18854c2994f2260e2b1482">More...</a><br /></td></tr>
<tr class="separator:ga6da9efdd6a18854c2994f2260e2b1482"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1e190b26de7e75aa55a59319c573a227"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga1e190b26de7e75aa55a59319c573a227">XTFT_CHAR_HEIGHT</a>&#160;&#160;&#160;12</td></tr>
<tr class="memdesc:ga1e190b26de7e75aa55a59319c573a227"><td class="mdescLeft">&#160;</td><td class="mdescRight">Character height.  <a href="#ga1e190b26de7e75aa55a59319c573a227">More...</a><br /></td></tr>
<tr class="separator:ga1e190b26de7e75aa55a59319c573a227"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8cdf302af29f0563c0079c0cbfb6abff"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga8cdf302af29f0563c0079c0cbfb6abff">XTFT_DISPLAY_WIDTH</a>&#160;&#160;&#160;640</td></tr>
<tr class="memdesc:ga8cdf302af29f0563c0079c0cbfb6abff"><td class="mdescLeft">&#160;</td><td class="mdescRight">Width of the screen.  <a href="#ga8cdf302af29f0563c0079c0cbfb6abff">More...</a><br /></td></tr>
<tr class="separator:ga8cdf302af29f0563c0079c0cbfb6abff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3d391c05df971dfe77189be6daf57521"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga3d391c05df971dfe77189be6daf57521">XTFT_DISPLAY_HEIGHT</a>&#160;&#160;&#160;480</td></tr>
<tr class="memdesc:ga3d391c05df971dfe77189be6daf57521"><td class="mdescLeft">&#160;</td><td class="mdescRight">Height of the screen.  <a href="#ga3d391c05df971dfe77189be6daf57521">More...</a><br /></td></tr>
<tr class="separator:ga3d391c05df971dfe77189be6daf57521"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4d27aca52ce921aee61dab5870700c5b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga4d27aca52ce921aee61dab5870700c5b">XTFT_DISPLAY_BUFFER_WIDTH</a>&#160;&#160;&#160;1024</td></tr>
<tr class="memdesc:ga4d27aca52ce921aee61dab5870700c5b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Buffer width of a line.  <a href="#ga4d27aca52ce921aee61dab5870700c5b">More...</a><br /></td></tr>
<tr class="separator:ga4d27aca52ce921aee61dab5870700c5b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2d988ed9da8b7e1ff66b120a13772d82"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga2d988ed9da8b7e1ff66b120a13772d82">XTFT_DCR_REG_SHIFT</a>&#160;&#160;&#160;2</td></tr>
<tr class="memdesc:ga2d988ed9da8b7e1ff66b120a13772d82"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reg Shift for DCR Access.  <a href="#ga2d988ed9da8b7e1ff66b120a13772d82">More...</a><br /></td></tr>
<tr class="separator:ga2d988ed9da8b7e1ff66b120a13772d82"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga7cb92a2667272b013b8fccb0df1307ad"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga7cb92a2667272b013b8fccb0df1307ad">XTft_CfgInitialize</a> (<a class="el" href="struct_x_tft.html">XTft</a> *InstancePtr, <a class="el" href="struct_x_tft___config.html">XTft_Config</a> *ConfigPtr, UINTPTR EffectiveAddr)</td></tr>
<tr class="memdesc:ga7cb92a2667272b013b8fccb0df1307ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function initializes a TFT Driver Instance.  <a href="#ga7cb92a2667272b013b8fccb0df1307ad">More...</a><br /></td></tr>
<tr class="separator:ga7cb92a2667272b013b8fccb0df1307ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabb17655cf7670fad99d96f1e92692b05"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#gabb17655cf7670fad99d96f1e92692b05">XTft_SetPos</a> (<a class="el" href="struct_x_tft.html">XTft</a> *InstancePtr, u32 ColVal, u32 RowVal)</td></tr>
<tr class="memdesc:gabb17655cf7670fad99d96f1e92692b05"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function updates the column, row position in the Instance structure of driver.  <a href="#gabb17655cf7670fad99d96f1e92692b05">More...</a><br /></td></tr>
<tr class="separator:gabb17655cf7670fad99d96f1e92692b05"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7416b0a7b68676ae4791aef9816683de"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga7416b0a7b68676ae4791aef9816683de">XTft_SetPosChar</a> (<a class="el" href="struct_x_tft.html">XTft</a> *InstancePtr, u32 ColVal, u32 RowVal)</td></tr>
<tr class="memdesc:ga7416b0a7b68676ae4791aef9816683de"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function changes the column, row position in the Instance structure of driver.  <a href="#ga7416b0a7b68676ae4791aef9816683de">More...</a><br /></td></tr>
<tr class="separator:ga7416b0a7b68676ae4791aef9816683de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga689206aec1006c6231f4b10062a8eeb0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga689206aec1006c6231f4b10062a8eeb0">XTft_SetColor</a> (<a class="el" href="struct_x_tft.html">XTft</a> *InstancePtr, u32 FgColor, u32 BgColor)</td></tr>
<tr class="memdesc:ga689206aec1006c6231f4b10062a8eeb0"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function changes the color values in the instance structure of driver.  <a href="#ga689206aec1006c6231f4b10062a8eeb0">More...</a><br /></td></tr>
<tr class="separator:ga689206aec1006c6231f4b10062a8eeb0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4efcd245e6e68c56641138123e3f67cc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga4efcd245e6e68c56641138123e3f67cc">XTft_SetPixel</a> (<a class="el" href="struct_x_tft.html">XTft</a> *InstancePtr, u32 ColVal, u32 RowVal, u32 PixelVal)</td></tr>
<tr class="memdesc:ga4efcd245e6e68c56641138123e3f67cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the pixel with the given color at the given column, row position.  <a href="#ga4efcd245e6e68c56641138123e3f67cc">More...</a><br /></td></tr>
<tr class="separator:ga4efcd245e6e68c56641138123e3f67cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga577850dbb8a67f20b52c42a818074381"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga577850dbb8a67f20b52c42a818074381">XTft_GetPixel</a> (<a class="el" href="struct_x_tft.html">XTft</a> *InstancePtr, u32 ColVal, u32 RowVal, u32 *PixelVal)</td></tr>
<tr class="memdesc:ga577850dbb8a67f20b52c42a818074381"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function gets the color of the pixel at the given column, row position.  <a href="#ga577850dbb8a67f20b52c42a818074381">More...</a><br /></td></tr>
<tr class="separator:ga577850dbb8a67f20b52c42a818074381"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1cc88ecc501ab053fdccbcb270315068"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga1cc88ecc501ab053fdccbcb270315068">XTft_Write</a> (<a class="el" href="struct_x_tft.html">XTft</a> *InstancePtr, u8 CharValue)</td></tr>
<tr class="memdesc:ga1cc88ecc501ab053fdccbcb270315068"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function performs one of the following three operations based on the CharValue passed :  <a href="#ga1cc88ecc501ab053fdccbcb270315068">More...</a><br /></td></tr>
<tr class="separator:ga1cc88ecc501ab053fdccbcb270315068"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga40c2b5ed76baff0d64b5a78b67620184"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga40c2b5ed76baff0d64b5a78b67620184">XTft_Scroll</a> (<a class="el" href="struct_x_tft.html">XTft</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga40c2b5ed76baff0d64b5a78b67620184"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function inserts a new blank line at the bottom of the screen, it deletes the first line and moves the remaining lines up by one line.  <a href="#ga40c2b5ed76baff0d64b5a78b67620184">More...</a><br /></td></tr>
<tr class="separator:ga40c2b5ed76baff0d64b5a78b67620184"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4181b68f12ba322250de4e29ef453abe"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga4181b68f12ba322250de4e29ef453abe">XTft_ClearScreen</a> (<a class="el" href="struct_x_tft.html">XTft</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga4181b68f12ba322250de4e29ef453abe"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function re-initializes all the pixels to the default background color.  <a href="#ga4181b68f12ba322250de4e29ef453abe">More...</a><br /></td></tr>
<tr class="separator:ga4181b68f12ba322250de4e29ef453abe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad4dd01f62992007c014fc4a13d39abdf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#gad4dd01f62992007c014fc4a13d39abdf">XTft_FillScreen</a> (<a class="el" href="struct_x_tft.html">XTft</a> *InstancePtr, u32 ColStartVal, u32 RowStartVal, u32 ColEndVal, u32 RowEndVal, u32 PixelVal)</td></tr>
<tr class="memdesc:gad4dd01f62992007c014fc4a13d39abdf"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function fills the screen with the range defined by the start and end values of column and row with the color passed as argument.  <a href="#gad4dd01f62992007c014fc4a13d39abdf">More...</a><br /></td></tr>
<tr class="separator:gad4dd01f62992007c014fc4a13d39abdf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga308d28143a386bcde54db714f43ae737"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga308d28143a386bcde54db714f43ae737">XTft_EnableDisplay</a> (<a class="el" href="struct_x_tft.html">XTft</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga308d28143a386bcde54db714f43ae737"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function enables the TFT display by setting the Display Enable bit in the Control register.  <a href="#ga308d28143a386bcde54db714f43ae737">More...</a><br /></td></tr>
<tr class="separator:ga308d28143a386bcde54db714f43ae737"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5324d540859b06ca950fbf07d466a7fe"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga5324d540859b06ca950fbf07d466a7fe">XTft_DisableDisplay</a> (<a class="el" href="struct_x_tft.html">XTft</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga5324d540859b06ca950fbf07d466a7fe"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function disables the TFT display by clearing the Display Enable bit in the Control register.  <a href="#ga5324d540859b06ca950fbf07d466a7fe">More...</a><br /></td></tr>
<tr class="separator:ga5324d540859b06ca950fbf07d466a7fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaab5334330486fb514c230f98702d485a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#gaab5334330486fb514c230f98702d485a">XTft_ScanReverse</a> (<a class="el" href="struct_x_tft.html">XTft</a> *InstancePtr)</td></tr>
<tr class="memdesc:gaab5334330486fb514c230f98702d485a"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function enables reverse scan by setting the Display Scan Control(DPS) bit in the Control register.  <a href="#gaab5334330486fb514c230f98702d485a">More...</a><br /></td></tr>
<tr class="separator:gaab5334330486fb514c230f98702d485a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga62eadbfc2233460b7ae8003c34347c01"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga62eadbfc2233460b7ae8003c34347c01">XTft_ScanNormal</a> (<a class="el" href="struct_x_tft.html">XTft</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga62eadbfc2233460b7ae8003c34347c01"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function enables normal scan by clearing the Display Scan Control(DPS) bit in the Control register.  <a href="#ga62eadbfc2233460b7ae8003c34347c01">More...</a><br /></td></tr>
<tr class="separator:ga62eadbfc2233460b7ae8003c34347c01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga56ccbb6cd6478cd5bd330ef70f733b4a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga56ccbb6cd6478cd5bd330ef70f733b4a">XTft_SetFrameBaseAddr</a> (<a class="el" href="struct_x_tft.html">XTft</a> *InstancePtr, UINTPTR NewFrameBaseAddr)</td></tr>
<tr class="memdesc:ga56ccbb6cd6478cd5bd330ef70f733b4a"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function changes the Video Memory Base address stored in the Address Register.  <a href="#ga56ccbb6cd6478cd5bd330ef70f733b4a">More...</a><br /></td></tr>
<tr class="separator:ga56ccbb6cd6478cd5bd330ef70f733b4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6c43a240d09cc381fef702e397b2d24b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga6c43a240d09cc381fef702e397b2d24b">XTft_WriteReg</a> (<a class="el" href="struct_x_tft.html">XTft</a> *InstancePtr, u32 RegOffset, u32 Data)</td></tr>
<tr class="memdesc:ga6c43a240d09cc381fef702e397b2d24b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write a value to a TFT register.  <a href="#ga6c43a240d09cc381fef702e397b2d24b">More...</a><br /></td></tr>
<tr class="separator:ga6c43a240d09cc381fef702e397b2d24b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga254efd25fdc63b78691a33ed565ae759"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga254efd25fdc63b78691a33ed565ae759">XTft_ReadReg</a> (<a class="el" href="struct_x_tft.html">XTft</a> *InstancePtr, u32 RegOffset)</td></tr>
<tr class="memdesc:ga254efd25fdc63b78691a33ed565ae759"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read a value from a TFT register.  <a href="#ga254efd25fdc63b78691a33ed565ae759">More...</a><br /></td></tr>
<tr class="separator:ga254efd25fdc63b78691a33ed565ae759"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3241465696077377ea4000f4caca21a7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga3241465696077377ea4000f4caca21a7">XTft_IntrEnable</a> (<a class="el" href="struct_x_tft.html">XTft</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga3241465696077377ea4000f4caca21a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function enables the Vsync Interrupt in the Interrupt Enable and Status Register.  <a href="#ga3241465696077377ea4000f4caca21a7">More...</a><br /></td></tr>
<tr class="separator:ga3241465696077377ea4000f4caca21a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1bc1f7d9c152c6e661cd125f4c190dd8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga1bc1f7d9c152c6e661cd125f4c190dd8">XTft_IntrDisable</a> (<a class="el" href="struct_x_tft.html">XTft</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga1bc1f7d9c152c6e661cd125f4c190dd8"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function disables the Vsync Interrupt in the Interrupt Enable and Status Register.  <a href="#ga1bc1f7d9c152c6e661cd125f4c190dd8">More...</a><br /></td></tr>
<tr class="separator:ga1bc1f7d9c152c6e661cd125f4c190dd8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacc8325682d029d3618ff0a7d6ee265dc"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#gacc8325682d029d3618ff0a7d6ee265dc">XTft_GetVsyncStatus</a> (<a class="el" href="struct_x_tft.html">XTft</a> *InstancePtr)</td></tr>
<tr class="memdesc:gacc8325682d029d3618ff0a7d6ee265dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function gets the Vsync(Video address latch) status from the Interrupt Enable and Status Register.  <a href="#gacc8325682d029d3618ff0a7d6ee265dc">More...</a><br /></td></tr>
<tr class="separator:gacc8325682d029d3618ff0a7d6ee265dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga49bd9cf75d37adc0157a433b9f57db0f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_tft___config.html">XTft_Config</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga49bd9cf75d37adc0157a433b9f57db0f">XTft_LookupConfig</a> (u16 DeviceId)</td></tr>
<tr class="memdesc:ga49bd9cf75d37adc0157a433b9f57db0f"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function obtains the Configuration pointer of the device whose ID is being passed as the parameter to the function.  <a href="#ga49bd9cf75d37adc0157a433b9f57db0f">More...</a><br /></td></tr>
<tr class="separator:ga49bd9cf75d37adc0157a433b9f57db0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:gac1b688c0177c8178bfcf44c1b099bbe7"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#gac1b688c0177c8178bfcf44c1b099bbe7">XTft_VidChars</a> [96][12]</td></tr>
<tr class="memdesc:gac1b688c0177c8178bfcf44c1b099bbe7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Character array of 96 characters with each character having dimensions of width 8 and height 12 pixels.  <a href="#gac1b688c0177c8178bfcf44c1b099bbe7">More...</a><br /></td></tr>
<tr class="separator:gac1b688c0177c8178bfcf44c1b099bbe7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga00b919b8b293fc3b45cceee84d27e65b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_tft___config.html">XTft_Config</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga00b919b8b293fc3b45cceee84d27e65b">XTft_ConfigTable</a> []</td></tr>
<tr class="memdesc:ga00b919b8b293fc3b45cceee84d27e65b"><td class="mdescLeft">&#160;</td><td class="mdescRight">The configuration table for TFT devices in the table.  <a href="#ga00b919b8b293fc3b45cceee84d27e65b">More...</a><br /></td></tr>
<tr class="separator:ga00b919b8b293fc3b45cceee84d27e65b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga00b919b8b293fc3b45cceee84d27e65b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_tft___config.html">XTft_Config</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga00b919b8b293fc3b45cceee84d27e65b">XTft_ConfigTable</a> []</td></tr>
<tr class="memdesc:ga00b919b8b293fc3b45cceee84d27e65b"><td class="mdescLeft">&#160;</td><td class="mdescRight">The configuration table for TFT devices in the table.  <a href="#ga00b919b8b293fc3b45cceee84d27e65b">More...</a><br /></td></tr>
<tr class="separator:ga00b919b8b293fc3b45cceee84d27e65b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
TFT Register offsets</h2></td></tr>
<tr><td class="ititle" colspan="2"><p><a class="anchor" id="amgrp6695d0d340bab39e376f1687b34d8197"></a>The following definitions provide access to each of the registers of the TFT device. </p>
</td></tr>
<tr class="memitem:ga3f2dda8ffdcd2d04e9307cc7f3edaa11"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga3f2dda8ffdcd2d04e9307cc7f3edaa11">XTFT_AR_OFFSET</a>&#160;&#160;&#160;0</td></tr>
<tr class="memdesc:ga3f2dda8ffdcd2d04e9307cc7f3edaa11"><td class="mdescLeft">&#160;</td><td class="mdescRight">Address Reg (Video memory) Offset.  <a href="#ga3f2dda8ffdcd2d04e9307cc7f3edaa11">More...</a><br /></td></tr>
<tr class="separator:ga3f2dda8ffdcd2d04e9307cc7f3edaa11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5fdc2c6fd8a7dae841feb936a043dd58"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga5fdc2c6fd8a7dae841feb936a043dd58">XTFT_CR_OFFSET</a>&#160;&#160;&#160;4</td></tr>
<tr class="memdesc:ga5fdc2c6fd8a7dae841feb936a043dd58"><td class="mdescLeft">&#160;</td><td class="mdescRight">Control Register Offset.  <a href="#ga5fdc2c6fd8a7dae841feb936a043dd58">More...</a><br /></td></tr>
<tr class="separator:ga5fdc2c6fd8a7dae841feb936a043dd58"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6fec872a11e74e007882df480ef9d951"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga6fec872a11e74e007882df480ef9d951">XTFT_IESR_OFFSET</a>&#160;&#160;&#160;8</td></tr>
<tr class="memdesc:ga6fec872a11e74e007882df480ef9d951"><td class="mdescLeft">&#160;</td><td class="mdescRight">Interrupt Enable and Status Reg Offset.  <a href="#ga6fec872a11e74e007882df480ef9d951">More...</a><br /></td></tr>
<tr class="separator:ga6fec872a11e74e007882df480ef9d951"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad0b65c05fe82f1493e865d70878d5773"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#gad0b65c05fe82f1493e865d70878d5773">XTFT_AR_LSB_OFFSET</a>&#160;&#160;&#160;0x10</td></tr>
<tr class="memdesc:gad0b65c05fe82f1493e865d70878d5773"><td class="mdescLeft">&#160;</td><td class="mdescRight">Address Reg LSB (Video memory) Offset.  <a href="#gad0b65c05fe82f1493e865d70878d5773">More...</a><br /></td></tr>
<tr class="separator:gad0b65c05fe82f1493e865d70878d5773"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga585665d41b80da57013a246faaf7869e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga585665d41b80da57013a246faaf7869e">XTFT_AR_MSB_OFFSET</a>&#160;&#160;&#160;0x14</td></tr>
<tr class="memdesc:ga585665d41b80da57013a246faaf7869e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Address Reg MSB (Video memory) Offset.  <a href="#ga585665d41b80da57013a246faaf7869e">More...</a><br /></td></tr>
<tr class="separator:ga585665d41b80da57013a246faaf7869e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
TFT Control Register (CR) mask(s)</h2></td></tr>
<tr class="memitem:ga3069ee03357025e835743cbe81b7fd94"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga3069ee03357025e835743cbe81b7fd94">XTFT_CR_TDE_MASK</a>&#160;&#160;&#160;0x01</td></tr>
<tr class="memdesc:ga3069ee03357025e835743cbe81b7fd94"><td class="mdescLeft">&#160;</td><td class="mdescRight">TFT Display Enable Bit Mask.  <a href="#ga3069ee03357025e835743cbe81b7fd94">More...</a><br /></td></tr>
<tr class="separator:ga3069ee03357025e835743cbe81b7fd94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaccac2b2d2b56aed3798bd781ba5775a5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#gaccac2b2d2b56aed3798bd781ba5775a5">XTFT_CR_DPS_MASK</a>&#160;&#160;&#160;0x02</td></tr>
<tr class="memdesc:gaccac2b2d2b56aed3798bd781ba5775a5"><td class="mdescLeft">&#160;</td><td class="mdescRight">TFT Display Scan Control Bit Mask.  <a href="#gaccac2b2d2b56aed3798bd781ba5775a5">More...</a><br /></td></tr>
<tr class="separator:gaccac2b2d2b56aed3798bd781ba5775a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
TFT Interrupt Enable and Status Register (IESR) mask(s)</h2></td></tr>
<tr class="memitem:gafcc9028848f7ab88a9461c53a5c64bf0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#gafcc9028848f7ab88a9461c53a5c64bf0">XTFT_IESR_VADDRLATCH_STATUS_MASK</a>&#160;&#160;&#160;0x01</td></tr>
<tr class="memdesc:gafcc9028848f7ab88a9461c53a5c64bf0"><td class="mdescLeft">&#160;</td><td class="mdescRight">TFT Video Address Latch Status Bit Mask.  <a href="#gafcc9028848f7ab88a9461c53a5c64bf0">More...</a><br /></td></tr>
<tr class="separator:gafcc9028848f7ab88a9461c53a5c64bf0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9e75abb8c7b5263ebabb683ce1ee2b8f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga9e75abb8c7b5263ebabb683ce1ee2b8f">XTFT_IESR_IE_MASK</a>&#160;&#160;&#160;0x08</td></tr>
<tr class="memdesc:ga9e75abb8c7b5263ebabb683ce1ee2b8f"><td class="mdescLeft">&#160;</td><td class="mdescRight">TFT Interrupt Enable Mask.  <a href="#ga9e75abb8c7b5263ebabb683ce1ee2b8f">More...</a><br /></td></tr>
<tr class="separator:ga9e75abb8c7b5263ebabb683ce1ee2b8f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="ga65c06a5c7f78dcca1f2574fd4de631a0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga65c06a5c7f78dcca1f2574fd4de631a0">&#9670;&nbsp;</a></span>GenPixels</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GenPixels</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">a7, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">a6, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">a5, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">a4, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">a3, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">a2, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">a1, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">a0&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xtft__charcode_8h.html">xtft_charcode.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line">(   ((a7) &lt;&lt; 7) |       \</div><div class="line">                ((a6) &lt;&lt; 6) | ((a5) &lt;&lt; 5) | ((a4) &lt;&lt; 4) | ((a3) &lt;&lt; 3) | \</div><div class="line">                ((a2) &lt;&lt; 2) | ((a1) &lt;&lt; 1) | (a0)   )</div></div><!-- fragment -->
<p>Compression method for the character bitmaps. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">a7</td><td>is bit value at 8th position. </td></tr>
    <tr><td class="paramname">a6</td><td>is bit value at 7th position. </td></tr>
    <tr><td class="paramname">a5</td><td>is bit value at 6th position. </td></tr>
    <tr><td class="paramname">a4</td><td>is bit value at 5th position. </td></tr>
    <tr><td class="paramname">a3</td><td>is bit value at 4th position. </td></tr>
    <tr><td class="paramname">a2</td><td>is bit value at 3rd position. </td></tr>
    <tr><td class="paramname">a1</td><td>is bit value at 2nd position. </td></tr>
    <tr><td class="paramname">a0</td><td>is bit value at 1st position.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Bit Value - either 0 or 1.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: int GenPixels(int a7, int a6, int a5, int a4, int a3, int a2, int a1, int a0). </dd></dl>

</div>
</div>
<a id="gad0b65c05fe82f1493e865d70878d5773"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad0b65c05fe82f1493e865d70878d5773">&#9670;&nbsp;</a></span>XTFT_AR_LSB_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XTFT_AR_LSB_OFFSET&#160;&#160;&#160;0x10</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xtft__hw_8h.html">xtft_hw.h</a>&gt;</code></p>

<p>Address Reg LSB (Video memory) Offset. </p>

<p class="reference">Referenced by <a class="el" href="group__tft__v5__0.html#ga56ccbb6cd6478cd5bd330ef70f733b4a">XTft_SetFrameBaseAddr()</a>.</p>

</div>
</div>
<a id="ga585665d41b80da57013a246faaf7869e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga585665d41b80da57013a246faaf7869e">&#9670;&nbsp;</a></span>XTFT_AR_MSB_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XTFT_AR_MSB_OFFSET&#160;&#160;&#160;0x14</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xtft__hw_8h.html">xtft_hw.h</a>&gt;</code></p>

<p>Address Reg MSB (Video memory) Offset. </p>

<p class="reference">Referenced by <a class="el" href="group__tft__v5__0.html#ga56ccbb6cd6478cd5bd330ef70f733b4a">XTft_SetFrameBaseAddr()</a>.</p>

</div>
</div>
<a id="ga3f2dda8ffdcd2d04e9307cc7f3edaa11"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3f2dda8ffdcd2d04e9307cc7f3edaa11">&#9670;&nbsp;</a></span>XTFT_AR_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XTFT_AR_OFFSET&#160;&#160;&#160;0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xtft__hw_8h.html">xtft_hw.h</a>&gt;</code></p>

<p>Address Reg (Video memory) Offset. </p>

<p class="reference">Referenced by <a class="el" href="group__tft__v5__0.html#ga56ccbb6cd6478cd5bd330ef70f733b4a">XTft_SetFrameBaseAddr()</a>.</p>

</div>
</div>
<a id="ga547452270c1b3d9df4af6ceb9f347684"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga547452270c1b3d9df4af6ceb9f347684">&#9670;&nbsp;</a></span>XTFT_ASCIICHAR_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XTFT_ASCIICHAR_OFFSET&#160;&#160;&#160;32</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xtft_8h.html">xtft.h</a>&gt;</code></p>

<p>As the first bitmap available in the Character Bitmap array is "space" whose value is 32 in the ASCII character table, this offset enables us to move to this first character in the array. </p>
<p>To achieve this we subtract this offset from the char value actually received to the XTft_WriteChar function. Similarly to move to any other character this offset must be subtracted. </p>

</div>
</div>
<a id="ga1e190b26de7e75aa55a59319c573a227"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1e190b26de7e75aa55a59319c573a227">&#9670;&nbsp;</a></span>XTFT_CHAR_HEIGHT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XTFT_CHAR_HEIGHT&#160;&#160;&#160;12</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xtft__hw_8h.html">xtft_hw.h</a>&gt;</code></p>

<p>Character height. </p>

<p class="reference">Referenced by <a class="el" href="group__tft__v5__0.html#ga40c2b5ed76baff0d64b5a78b67620184">XTft_Scroll()</a>, <a class="el" href="group__tft__v5__0.html#ga7416b0a7b68676ae4791aef9816683de">XTft_SetPosChar()</a>, and <a class="el" href="group__tft__v5__0.html#ga1cc88ecc501ab053fdccbcb270315068">XTft_Write()</a>.</p>

</div>
</div>
<a id="ga6da9efdd6a18854c2994f2260e2b1482"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6da9efdd6a18854c2994f2260e2b1482">&#9670;&nbsp;</a></span>XTFT_CHAR_WIDTH</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XTFT_CHAR_WIDTH&#160;&#160;&#160;8</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xtft__hw_8h.html">xtft_hw.h</a>&gt;</code></p>

<p>Dimension Definitions. </p>
<p>Character width </p>

<p class="reference">Referenced by <a class="el" href="group__tft__v5__0.html#ga7416b0a7b68676ae4791aef9816683de">XTft_SetPosChar()</a>.</p>

</div>
</div>
<a id="gaccac2b2d2b56aed3798bd781ba5775a5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaccac2b2d2b56aed3798bd781ba5775a5">&#9670;&nbsp;</a></span>XTFT_CR_DPS_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XTFT_CR_DPS_MASK&#160;&#160;&#160;0x02</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xtft__hw_8h.html">xtft_hw.h</a>&gt;</code></p>

<p>TFT Display Scan Control Bit Mask. </p>

<p class="reference">Referenced by <a class="el" href="group__tft__v5__0.html#ga62eadbfc2233460b7ae8003c34347c01">XTft_ScanNormal()</a>, and <a class="el" href="group__tft__v5__0.html#gaab5334330486fb514c230f98702d485a">XTft_ScanReverse()</a>.</p>

</div>
</div>
<a id="ga5fdc2c6fd8a7dae841feb936a043dd58"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5fdc2c6fd8a7dae841feb936a043dd58">&#9670;&nbsp;</a></span>XTFT_CR_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XTFT_CR_OFFSET&#160;&#160;&#160;4</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xtft__hw_8h.html">xtft_hw.h</a>&gt;</code></p>

<p>Control Register Offset. </p>

<p class="reference">Referenced by <a class="el" href="group__tft__v5__0.html#ga5324d540859b06ca950fbf07d466a7fe">XTft_DisableDisplay()</a>, <a class="el" href="group__tft__v5__0.html#ga308d28143a386bcde54db714f43ae737">XTft_EnableDisplay()</a>, <a class="el" href="group__tft__v5__0.html#ga62eadbfc2233460b7ae8003c34347c01">XTft_ScanNormal()</a>, and <a class="el" href="group__tft__v5__0.html#gaab5334330486fb514c230f98702d485a">XTft_ScanReverse()</a>.</p>

</div>
</div>
<a id="ga3069ee03357025e835743cbe81b7fd94"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3069ee03357025e835743cbe81b7fd94">&#9670;&nbsp;</a></span>XTFT_CR_TDE_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XTFT_CR_TDE_MASK&#160;&#160;&#160;0x01</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xtft__hw_8h.html">xtft_hw.h</a>&gt;</code></p>

<p>TFT Display Enable Bit Mask. </p>

<p class="reference">Referenced by <a class="el" href="group__tft__v5__0.html#ga5324d540859b06ca950fbf07d466a7fe">XTft_DisableDisplay()</a>, and <a class="el" href="group__tft__v5__0.html#ga308d28143a386bcde54db714f43ae737">XTft_EnableDisplay()</a>.</p>

</div>
</div>
<a id="ga2d988ed9da8b7e1ff66b120a13772d82"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2d988ed9da8b7e1ff66b120a13772d82">&#9670;&nbsp;</a></span>XTFT_DCR_REG_SHIFT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XTFT_DCR_REG_SHIFT&#160;&#160;&#160;2</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xtft__hw_8h.html">xtft_hw.h</a>&gt;</code></p>

<p>Reg Shift for DCR Access. </p>

</div>
</div>
<a id="ga6802361cad5f41ab4686e2184bb06d62"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6802361cad5f41ab4686e2184bb06d62">&#9670;&nbsp;</a></span>XTFT_DEF_BGCOLOR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XTFT_DEF_BGCOLOR&#160;&#160;&#160;0x0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xtft_8h.html">xtft.h</a>&gt;</code></p>

<p>Background Color - Black. </p>

<p class="reference">Referenced by <a class="el" href="group__tft__v5__0.html#ga7cb92a2667272b013b8fccb0df1307ad">XTft_CfgInitialize()</a>.</p>

</div>
</div>
<a id="gaaeaf77de0c8548663003c19c3b772a25"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaaeaf77de0c8548663003c19c3b772a25">&#9670;&nbsp;</a></span>XTFT_DEF_COLVAL</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XTFT_DEF_COLVAL&#160;&#160;&#160;0x0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xtft_8h.html">xtft.h</a>&gt;</code></p>

<p>Default Column Value. </p>

<p class="reference">Referenced by <a class="el" href="group__tft__v5__0.html#ga7cb92a2667272b013b8fccb0df1307ad">XTft_CfgInitialize()</a>, <a class="el" href="group__tft__v5__0.html#ga4181b68f12ba322250de4e29ef453abe">XTft_ClearScreen()</a>, <a class="el" href="group__tft__v5__0.html#ga40c2b5ed76baff0d64b5a78b67620184">XTft_Scroll()</a>, <a class="el" href="group__tft__v5__0.html#ga7416b0a7b68676ae4791aef9816683de">XTft_SetPosChar()</a>, and <a class="el" href="group__tft__v5__0.html#ga1cc88ecc501ab053fdccbcb270315068">XTft_Write()</a>.</p>

</div>
</div>
<a id="gaf4d426ca83e1b41f324d732fbdabfae6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf4d426ca83e1b41f324d732fbdabfae6">&#9670;&nbsp;</a></span>XTFT_DEF_FGCOLOR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XTFT_DEF_FGCOLOR&#160;&#160;&#160;0x00FFFFFF</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xtft_8h.html">xtft.h</a>&gt;</code></p>

<p>The default color is white for foreground and black for background. </p>
<p>These values can range from 0 to 0xFFFFFFFF as each color is ranging from 0 to 3F. The default value for column and row is 0.Foreground Color - White </p>

<p class="reference">Referenced by <a class="el" href="group__tft__v5__0.html#ga7cb92a2667272b013b8fccb0df1307ad">XTft_CfgInitialize()</a>.</p>

</div>
</div>
<a id="ga095e9f2723ddfa46427fcdf9e1209204"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga095e9f2723ddfa46427fcdf9e1209204">&#9670;&nbsp;</a></span>XTFT_DEF_ROWVAL</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XTFT_DEF_ROWVAL&#160;&#160;&#160;0x0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xtft_8h.html">xtft.h</a>&gt;</code></p>

<p>Default Row Value. </p>

<p class="reference">Referenced by <a class="el" href="group__tft__v5__0.html#ga7cb92a2667272b013b8fccb0df1307ad">XTft_CfgInitialize()</a>, and <a class="el" href="group__tft__v5__0.html#ga4181b68f12ba322250de4e29ef453abe">XTft_ClearScreen()</a>.</p>

</div>
</div>
<a id="ga4d27aca52ce921aee61dab5870700c5b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4d27aca52ce921aee61dab5870700c5b">&#9670;&nbsp;</a></span>XTFT_DISPLAY_BUFFER_WIDTH</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XTFT_DISPLAY_BUFFER_WIDTH&#160;&#160;&#160;1024</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xtft__hw_8h.html">xtft_hw.h</a>&gt;</code></p>

<p>Buffer width of a line. </p>

<p class="reference">Referenced by <a class="el" href="group__tft__v5__0.html#ga577850dbb8a67f20b52c42a818074381">XTft_GetPixel()</a>, and <a class="el" href="group__tft__v5__0.html#ga4efcd245e6e68c56641138123e3f67cc">XTft_SetPixel()</a>.</p>

</div>
</div>
<a id="ga3d391c05df971dfe77189be6daf57521"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3d391c05df971dfe77189be6daf57521">&#9670;&nbsp;</a></span>XTFT_DISPLAY_HEIGHT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XTFT_DISPLAY_HEIGHT&#160;&#160;&#160;480</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xtft__hw_8h.html">xtft_hw.h</a>&gt;</code></p>

<p>Height of the screen. </p>

<p class="reference">Referenced by <a class="el" href="group__tft__v5__0.html#ga7cb92a2667272b013b8fccb0df1307ad">XTft_CfgInitialize()</a>, <a class="el" href="group__tft__v5__0.html#ga4181b68f12ba322250de4e29ef453abe">XTft_ClearScreen()</a>, <a class="el" href="group__tft__v5__0.html#gad4dd01f62992007c014fc4a13d39abdf">XTft_FillScreen()</a>, <a class="el" href="group__tft__v5__0.html#ga577850dbb8a67f20b52c42a818074381">XTft_GetPixel()</a>, <a class="el" href="group__tft__v5__0.html#ga40c2b5ed76baff0d64b5a78b67620184">XTft_Scroll()</a>, <a class="el" href="group__tft__v5__0.html#ga4efcd245e6e68c56641138123e3f67cc">XTft_SetPixel()</a>, <a class="el" href="group__tft__v5__0.html#gabb17655cf7670fad99d96f1e92692b05">XTft_SetPos()</a>, and <a class="el" href="group__tft__v5__0.html#ga7416b0a7b68676ae4791aef9816683de">XTft_SetPosChar()</a>.</p>

</div>
</div>
<a id="ga8cdf302af29f0563c0079c0cbfb6abff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8cdf302af29f0563c0079c0cbfb6abff">&#9670;&nbsp;</a></span>XTFT_DISPLAY_WIDTH</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XTFT_DISPLAY_WIDTH&#160;&#160;&#160;640</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xtft__hw_8h.html">xtft_hw.h</a>&gt;</code></p>

<p>Width of the screen. </p>

<p class="reference">Referenced by <a class="el" href="group__tft__v5__0.html#ga7cb92a2667272b013b8fccb0df1307ad">XTft_CfgInitialize()</a>, <a class="el" href="group__tft__v5__0.html#ga4181b68f12ba322250de4e29ef453abe">XTft_ClearScreen()</a>, <a class="el" href="group__tft__v5__0.html#gad4dd01f62992007c014fc4a13d39abdf">XTft_FillScreen()</a>, <a class="el" href="group__tft__v5__0.html#ga577850dbb8a67f20b52c42a818074381">XTft_GetPixel()</a>, <a class="el" href="group__tft__v5__0.html#ga40c2b5ed76baff0d64b5a78b67620184">XTft_Scroll()</a>, <a class="el" href="group__tft__v5__0.html#ga4efcd245e6e68c56641138123e3f67cc">XTft_SetPixel()</a>, <a class="el" href="group__tft__v5__0.html#gabb17655cf7670fad99d96f1e92692b05">XTft_SetPos()</a>, and <a class="el" href="group__tft__v5__0.html#ga7416b0a7b68676ae4791aef9816683de">XTft_SetPosChar()</a>.</p>

</div>
</div>
<a id="ga9e75abb8c7b5263ebabb683ce1ee2b8f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9e75abb8c7b5263ebabb683ce1ee2b8f">&#9670;&nbsp;</a></span>XTFT_IESR_IE_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XTFT_IESR_IE_MASK&#160;&#160;&#160;0x08</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xtft__hw_8h.html">xtft_hw.h</a>&gt;</code></p>

<p>TFT Interrupt Enable Mask. </p>

<p class="reference">Referenced by <a class="el" href="group__tft__v5__0.html#ga1bc1f7d9c152c6e661cd125f4c190dd8">XTft_IntrDisable()</a>, and <a class="el" href="group__tft__v5__0.html#ga3241465696077377ea4000f4caca21a7">XTft_IntrEnable()</a>.</p>

</div>
</div>
<a id="ga6fec872a11e74e007882df480ef9d951"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6fec872a11e74e007882df480ef9d951">&#9670;&nbsp;</a></span>XTFT_IESR_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XTFT_IESR_OFFSET&#160;&#160;&#160;8</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xtft__hw_8h.html">xtft_hw.h</a>&gt;</code></p>

<p>Interrupt Enable and Status Reg Offset. </p>

<p class="reference">Referenced by <a class="el" href="group__tft__v5__0.html#gacc8325682d029d3618ff0a7d6ee265dc">XTft_GetVsyncStatus()</a>, <a class="el" href="group__tft__v5__0.html#ga1bc1f7d9c152c6e661cd125f4c190dd8">XTft_IntrDisable()</a>, and <a class="el" href="group__tft__v5__0.html#ga3241465696077377ea4000f4caca21a7">XTft_IntrEnable()</a>.</p>

</div>
</div>
<a id="gafcc9028848f7ab88a9461c53a5c64bf0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafcc9028848f7ab88a9461c53a5c64bf0">&#9670;&nbsp;</a></span>XTFT_IESR_VADDRLATCH_STATUS_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XTFT_IESR_VADDRLATCH_STATUS_MASK&#160;&#160;&#160;0x01</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xtft__hw_8h.html">xtft_hw.h</a>&gt;</code></p>

<p>TFT Video Address Latch Status Bit Mask. </p>

<p class="reference">Referenced by <a class="el" href="xtft__example_8c.html#ac6b91e875cb351724fcbf7314572ed26">TftExample()</a>, and <a class="el" href="group__tft__v5__0.html#gacc8325682d029d3618ff0a7d6ee265dc">XTft_GetVsyncStatus()</a>.</p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga7cb92a2667272b013b8fccb0df1307ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7cb92a2667272b013b8fccb0df1307ad">&#9670;&nbsp;</a></span>XTft_CfgInitialize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XTft_CfgInitialize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_tft.html">XTft</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_x_tft___config.html">XTft_Config</a> *&#160;</td>
          <td class="paramname"><em>ConfigPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UINTPTR&#160;</td>
          <td class="paramname"><em>EffectiveAddr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xtft_8c.html">xtft.c</a>&gt;</code></p>

<p>This function initializes a TFT Driver Instance. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_tft.html" title="This structure is the base for whole of the operations that are to be performed on the TFT screen...">XTft</a> instance. </td></tr>
    <tr><td class="paramname">ConfigPtr</td><td>is a pointer to a <a class="el" href="struct_x_tft___config.html" title="This structure holds the Device base address, video memory base address and Unique identifier of the ...">XTft_Config</a> configuration structure.This structure will contain the requested configuration for the device. Typically, this is a local structure and the content of which will be copied into the configuration structure within <a class="el" href="struct_x_tft.html" title="This structure is the base for whole of the operations that are to be performed on the TFT screen...">XTft</a>. </td></tr>
    <tr><td class="paramname">EffectiveAddr</td><td>is the device base address in the virtual memory address space. If the address translation is not used then the physical address is passed. Unexpected errors may occur if the address mapping is changed after this function is invoked.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if successful.</li>
<li>XST_FAILURE if unsuccessful.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_tft___config.html#af13b84d730fc82272b844c4f787a5142">XTft_Config::BaseAddress</a>, <a class="el" href="struct_x_tft.html#acc10038cdf317ab5b50ce0ec2fedcdd0">XTft::BgColor</a>, <a class="el" href="struct_x_tft.html#acef1fa311d00ad95aca04546f827e27b">XTft::ColVal</a>, <a class="el" href="struct_x_tft___config.html#a20f18bd5bf693db9f497388feecf4e47">XTft_Config::DeviceId</a>, <a class="el" href="struct_x_tft.html#ab7d29e890e9981c4f9af66b426280da5">XTft::FgColor</a>, <a class="el" href="struct_x_tft.html#aca9d4577a8b752a2c1a8142e5196a4db">XTft::IsReady</a>, <a class="el" href="struct_x_tft.html#a2fea2e6b537433ac6dde7d97eb340577">XTft::RowVal</a>, <a class="el" href="struct_x_tft.html#a7b57d88c2f86585f12d2e32e18a6cd87">XTft::TftConfig</a>, <a class="el" href="struct_x_tft___config.html#a81392a22d4ef495818378bef86b06427">XTft_Config::VideoMemBaseAddr</a>, <a class="el" href="group__tft__v5__0.html#ga6802361cad5f41ab4686e2184bb06d62">XTFT_DEF_BGCOLOR</a>, <a class="el" href="group__tft__v5__0.html#gaaeaf77de0c8548663003c19c3b772a25">XTFT_DEF_COLVAL</a>, <a class="el" href="group__tft__v5__0.html#gaf4d426ca83e1b41f324d732fbdabfae6">XTFT_DEF_FGCOLOR</a>, <a class="el" href="group__tft__v5__0.html#ga095e9f2723ddfa46427fcdf9e1209204">XTFT_DEF_ROWVAL</a>, <a class="el" href="group__tft__v5__0.html#ga3d391c05df971dfe77189be6daf57521">XTFT_DISPLAY_HEIGHT</a>, <a class="el" href="group__tft__v5__0.html#ga8cdf302af29f0563c0079c0cbfb6abff">XTFT_DISPLAY_WIDTH</a>, and <a class="el" href="group__tft__v5__0.html#gad4dd01f62992007c014fc4a13d39abdf">XTft_FillScreen()</a>.</p>

<p class="reference">Referenced by <a class="el" href="xtft__example_8c.html#ac6b91e875cb351724fcbf7314572ed26">TftExample()</a>.</p>

</div>
</div>
<a id="ga4181b68f12ba322250de4e29ef453abe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4181b68f12ba322250de4e29ef453abe">&#9670;&nbsp;</a></span>XTft_ClearScreen()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XTft_ClearScreen </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_tft.html">XTft</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xtft_8c.html">xtft.c</a>&gt;</code></p>

<p>This function re-initializes all the pixels to the default background color. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_tft.html" title="This structure is the base for whole of the operations that are to be performed on the TFT screen...">XTft</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_tft.html#acc10038cdf317ab5b50ce0ec2fedcdd0">XTft::BgColor</a>, <a class="el" href="struct_x_tft.html#acef1fa311d00ad95aca04546f827e27b">XTft::ColVal</a>, <a class="el" href="struct_x_tft.html#aca9d4577a8b752a2c1a8142e5196a4db">XTft::IsReady</a>, <a class="el" href="struct_x_tft.html#a2fea2e6b537433ac6dde7d97eb340577">XTft::RowVal</a>, <a class="el" href="group__tft__v5__0.html#gaaeaf77de0c8548663003c19c3b772a25">XTFT_DEF_COLVAL</a>, <a class="el" href="group__tft__v5__0.html#ga095e9f2723ddfa46427fcdf9e1209204">XTFT_DEF_ROWVAL</a>, <a class="el" href="group__tft__v5__0.html#ga3d391c05df971dfe77189be6daf57521">XTFT_DISPLAY_HEIGHT</a>, <a class="el" href="group__tft__v5__0.html#ga8cdf302af29f0563c0079c0cbfb6abff">XTFT_DISPLAY_WIDTH</a>, and <a class="el" href="group__tft__v5__0.html#gad4dd01f62992007c014fc4a13d39abdf">XTft_FillScreen()</a>.</p>

<p class="reference">Referenced by <a class="el" href="xtft__example_8c.html#ac6b91e875cb351724fcbf7314572ed26">TftExample()</a>.</p>

</div>
</div>
<a id="ga5324d540859b06ca950fbf07d466a7fe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5324d540859b06ca950fbf07d466a7fe">&#9670;&nbsp;</a></span>XTft_DisableDisplay()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XTft_DisableDisplay </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_tft.html">XTft</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xtft_8c.html">xtft.c</a>&gt;</code></p>

<p>This function disables the TFT display by clearing the Display Enable bit in the Control register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_tft.html" title="This structure is the base for whole of the operations that are to be performed on the TFT screen...">XTft</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_tft.html#aca9d4577a8b752a2c1a8142e5196a4db">XTft::IsReady</a>, <a class="el" href="group__tft__v5__0.html#ga5fdc2c6fd8a7dae841feb936a043dd58">XTFT_CR_OFFSET</a>, <a class="el" href="group__tft__v5__0.html#ga3069ee03357025e835743cbe81b7fd94">XTFT_CR_TDE_MASK</a>, <a class="el" href="group__tft__v5__0.html#ga254efd25fdc63b78691a33ed565ae759">XTft_ReadReg()</a>, and <a class="el" href="group__tft__v5__0.html#ga6c43a240d09cc381fef702e397b2d24b">XTft_WriteReg()</a>.</p>

</div>
</div>
<a id="ga308d28143a386bcde54db714f43ae737"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga308d28143a386bcde54db714f43ae737">&#9670;&nbsp;</a></span>XTft_EnableDisplay()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XTft_EnableDisplay </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_tft.html">XTft</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xtft_8c.html">xtft.c</a>&gt;</code></p>

<p>This function enables the TFT display by setting the Display Enable bit in the Control register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_tft.html" title="This structure is the base for whole of the operations that are to be performed on the TFT screen...">XTft</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_tft.html#aca9d4577a8b752a2c1a8142e5196a4db">XTft::IsReady</a>, <a class="el" href="group__tft__v5__0.html#ga5fdc2c6fd8a7dae841feb936a043dd58">XTFT_CR_OFFSET</a>, <a class="el" href="group__tft__v5__0.html#ga3069ee03357025e835743cbe81b7fd94">XTFT_CR_TDE_MASK</a>, <a class="el" href="group__tft__v5__0.html#ga254efd25fdc63b78691a33ed565ae759">XTft_ReadReg()</a>, and <a class="el" href="group__tft__v5__0.html#ga6c43a240d09cc381fef702e397b2d24b">XTft_WriteReg()</a>.</p>

</div>
</div>
<a id="gad4dd01f62992007c014fc4a13d39abdf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad4dd01f62992007c014fc4a13d39abdf">&#9670;&nbsp;</a></span>XTft_FillScreen()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XTft_FillScreen </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_tft.html">XTft</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>ColStartVal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>RowStartVal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>ColEndVal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>RowEndVal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>PixelVal</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xtft_8c.html">xtft.c</a>&gt;</code></p>

<p>This function fills the screen with the range defined by the start and end values of column and row with the color passed as argument. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_tft.html" title="This structure is the base for whole of the operations that are to be performed on the TFT screen...">XTft</a> instance. </td></tr>
    <tr><td class="paramname">ColStartVal</td><td>is the value of the starting column. The valid values are 0 to (XTFT_DISPLAY_WIDTH - 1). </td></tr>
    <tr><td class="paramname">RowStartVal</td><td>is the value of the starting row. The valid values are 0 to (XTFT_DISPLAY_HEIGHT - 1). </td></tr>
    <tr><td class="paramname">ColEndVal</td><td>is the value of the ending column. The valid values are 0 to (XTFT_DISPLAY_WIDTH - 1). </td></tr>
    <tr><td class="paramname">RowEndVal</td><td>is the value of the ending row. The valid values are 0 to (XTFT_DISPLAY_HEIGHT - 1). </td></tr>
    <tr><td class="paramname">PixelVal</td><td>represents the color with which it will be filled on screen.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>It must be taken care to pass values such that column start position should not exceed column end position, same is the case with row position. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_tft.html#aca9d4577a8b752a2c1a8142e5196a4db">XTft::IsReady</a>, <a class="el" href="group__tft__v5__0.html#ga3d391c05df971dfe77189be6daf57521">XTFT_DISPLAY_HEIGHT</a>, <a class="el" href="group__tft__v5__0.html#ga8cdf302af29f0563c0079c0cbfb6abff">XTFT_DISPLAY_WIDTH</a>, and <a class="el" href="group__tft__v5__0.html#ga4efcd245e6e68c56641138123e3f67cc">XTft_SetPixel()</a>.</p>

<p class="reference">Referenced by <a class="el" href="group__tft__v5__0.html#ga7cb92a2667272b013b8fccb0df1307ad">XTft_CfgInitialize()</a>, <a class="el" href="group__tft__v5__0.html#ga4181b68f12ba322250de4e29ef453abe">XTft_ClearScreen()</a>, and <a class="el" href="group__tft__v5__0.html#ga40c2b5ed76baff0d64b5a78b67620184">XTft_Scroll()</a>.</p>

</div>
</div>
<a id="ga577850dbb8a67f20b52c42a818074381"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga577850dbb8a67f20b52c42a818074381">&#9670;&nbsp;</a></span>XTft_GetPixel()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XTft_GetPixel </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_tft.html">XTft</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>ColVal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>RowVal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32 *&#160;</td>
          <td class="paramname"><em>PixelVal</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xtft_8c.html">xtft.c</a>&gt;</code></p>

<p>This function gets the color of the pixel at the given column, row position. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_tft.html" title="This structure is the base for whole of the operations that are to be performed on the TFT screen...">XTft</a> instance. </td></tr>
    <tr><td class="paramname">ColVal</td><td>represents the column on the screen. The valid values are 0 to (XTFT_DISPLAY_WIDTH - 1). </td></tr>
    <tr><td class="paramname">RowVal</td><td>represents the row on the screen. The valid values are 0 to (XTFT_DISPLAY_HEIGHT - 1). </td></tr>
    <tr><td class="paramname">PixelVal</td><td>stores the color value on the screen pointed by given Column and Row position.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>This API is independent of the interface the TFT Controller is connected to. The data is read from the Video Memory. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_tft.html#aca9d4577a8b752a2c1a8142e5196a4db">XTft::IsReady</a>, <a class="el" href="struct_x_tft.html#a7b57d88c2f86585f12d2e32e18a6cd87">XTft::TftConfig</a>, <a class="el" href="struct_x_tft___config.html#a81392a22d4ef495818378bef86b06427">XTft_Config::VideoMemBaseAddr</a>, <a class="el" href="group__tft__v5__0.html#ga4d27aca52ce921aee61dab5870700c5b">XTFT_DISPLAY_BUFFER_WIDTH</a>, <a class="el" href="group__tft__v5__0.html#ga3d391c05df971dfe77189be6daf57521">XTFT_DISPLAY_HEIGHT</a>, and <a class="el" href="group__tft__v5__0.html#ga8cdf302af29f0563c0079c0cbfb6abff">XTFT_DISPLAY_WIDTH</a>.</p>

<p class="reference">Referenced by <a class="el" href="group__tft__v5__0.html#ga40c2b5ed76baff0d64b5a78b67620184">XTft_Scroll()</a>.</p>

</div>
</div>
<a id="gacc8325682d029d3618ff0a7d6ee265dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gacc8325682d029d3618ff0a7d6ee265dc">&#9670;&nbsp;</a></span>XTft_GetVsyncStatus()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XTft_GetVsyncStatus </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_tft.html">XTft</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xtft_8c.html">xtft.c</a>&gt;</code></p>

<p>This function gets the Vsync(Video address latch) status from the Interrupt Enable and Status Register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_tft.html" title="This structure is the base for whole of the operations that are to be performed on the TFT screen...">XTft</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>TRUE if Vsync pulse has occurred after displaying the current frame.</li>
<li>FALSE if the TFT core has not completed displaying the current frame.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Vsync(Video address latch) Status bit will be cleared by the HW after it loads the address from the Address Register and starts displaying the Frame. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_tft.html#aca9d4577a8b752a2c1a8142e5196a4db">XTft::IsReady</a>, <a class="el" href="group__tft__v5__0.html#ga6fec872a11e74e007882df480ef9d951">XTFT_IESR_OFFSET</a>, <a class="el" href="group__tft__v5__0.html#gafcc9028848f7ab88a9461c53a5c64bf0">XTFT_IESR_VADDRLATCH_STATUS_MASK</a>, and <a class="el" href="group__tft__v5__0.html#ga254efd25fdc63b78691a33ed565ae759">XTft_ReadReg()</a>.</p>

<p class="reference">Referenced by <a class="el" href="xtft__example_8c.html#ac6b91e875cb351724fcbf7314572ed26">TftExample()</a>.</p>

</div>
</div>
<a id="ga1bc1f7d9c152c6e661cd125f4c190dd8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1bc1f7d9c152c6e661cd125f4c190dd8">&#9670;&nbsp;</a></span>XTft_IntrDisable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XTft_IntrDisable </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_tft.html">XTft</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xtft_8c.html">xtft.c</a>&gt;</code></p>

<p>This function disables the Vsync Interrupt in the Interrupt Enable and Status Register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_tft.html" title="This structure is the base for whole of the operations that are to be performed on the TFT screen...">XTft</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_tft.html#aca9d4577a8b752a2c1a8142e5196a4db">XTft::IsReady</a>, <a class="el" href="group__tft__v5__0.html#ga9e75abb8c7b5263ebabb683ce1ee2b8f">XTFT_IESR_IE_MASK</a>, <a class="el" href="group__tft__v5__0.html#ga6fec872a11e74e007882df480ef9d951">XTFT_IESR_OFFSET</a>, <a class="el" href="group__tft__v5__0.html#ga254efd25fdc63b78691a33ed565ae759">XTft_ReadReg()</a>, and <a class="el" href="group__tft__v5__0.html#ga6c43a240d09cc381fef702e397b2d24b">XTft_WriteReg()</a>.</p>

</div>
</div>
<a id="ga3241465696077377ea4000f4caca21a7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3241465696077377ea4000f4caca21a7">&#9670;&nbsp;</a></span>XTft_IntrEnable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XTft_IntrEnable </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_tft.html">XTft</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xtft_8c.html">xtft.c</a>&gt;</code></p>

<p>This function enables the Vsync Interrupt in the Interrupt Enable and Status Register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_tft.html" title="This structure is the base for whole of the operations that are to be performed on the TFT screen...">XTft</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_tft.html#aca9d4577a8b752a2c1a8142e5196a4db">XTft::IsReady</a>, <a class="el" href="group__tft__v5__0.html#ga9e75abb8c7b5263ebabb683ce1ee2b8f">XTFT_IESR_IE_MASK</a>, <a class="el" href="group__tft__v5__0.html#ga6fec872a11e74e007882df480ef9d951">XTFT_IESR_OFFSET</a>, <a class="el" href="group__tft__v5__0.html#ga254efd25fdc63b78691a33ed565ae759">XTft_ReadReg()</a>, and <a class="el" href="group__tft__v5__0.html#ga6c43a240d09cc381fef702e397b2d24b">XTft_WriteReg()</a>.</p>

</div>
</div>
<a id="ga49bd9cf75d37adc0157a433b9f57db0f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga49bd9cf75d37adc0157a433b9f57db0f">&#9670;&nbsp;</a></span>XTft_LookupConfig()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_x_tft___config.html">XTft_Config</a> * XTft_LookupConfig </td>
          <td>(</td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>DeviceId</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xtft_8h.html">xtft.h</a>&gt;</code></p>

<p>This function obtains the Configuration pointer of the device whose ID is being passed as the parameter to the function. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">DeviceId</td><td>is the unique number of the device.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Configuration pointer of the Device whose ID is given.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">Referenced by <a class="el" href="xtft__example_8c.html#ac6b91e875cb351724fcbf7314572ed26">TftExample()</a>.</p>

</div>
</div>
<a id="ga254efd25fdc63b78691a33ed565ae759"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga254efd25fdc63b78691a33ed565ae759">&#9670;&nbsp;</a></span>XTft_ReadReg()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XTft_ReadReg </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_tft.html">XTft</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>RegOffset</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xtft_8c.html">xtft.c</a>&gt;</code></p>

<p>Read a value from a TFT register. </p>
<p>A 32 bit read is performed.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_tft.html" title="This structure is the base for whole of the operations that are to be performed on the TFT screen...">XTft</a> instance. </td></tr>
    <tr><td class="paramname">RegOffset</td><td>is the register offset from the base to read from.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Data read from the register.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_tft___config.html#af13b84d730fc82272b844c4f787a5142">XTft_Config::BaseAddress</a>, <a class="el" href="struct_x_tft.html#aca9d4577a8b752a2c1a8142e5196a4db">XTft::IsReady</a>, and <a class="el" href="struct_x_tft.html#a7b57d88c2f86585f12d2e32e18a6cd87">XTft::TftConfig</a>.</p>

<p class="reference">Referenced by <a class="el" href="group__tft__v5__0.html#ga5324d540859b06ca950fbf07d466a7fe">XTft_DisableDisplay()</a>, <a class="el" href="group__tft__v5__0.html#ga308d28143a386bcde54db714f43ae737">XTft_EnableDisplay()</a>, <a class="el" href="group__tft__v5__0.html#gacc8325682d029d3618ff0a7d6ee265dc">XTft_GetVsyncStatus()</a>, <a class="el" href="group__tft__v5__0.html#ga1bc1f7d9c152c6e661cd125f4c190dd8">XTft_IntrDisable()</a>, <a class="el" href="group__tft__v5__0.html#ga3241465696077377ea4000f4caca21a7">XTft_IntrEnable()</a>, <a class="el" href="group__tft__v5__0.html#ga62eadbfc2233460b7ae8003c34347c01">XTft_ScanNormal()</a>, and <a class="el" href="group__tft__v5__0.html#gaab5334330486fb514c230f98702d485a">XTft_ScanReverse()</a>.</p>

</div>
</div>
<a id="ga62eadbfc2233460b7ae8003c34347c01"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga62eadbfc2233460b7ae8003c34347c01">&#9670;&nbsp;</a></span>XTft_ScanNormal()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XTft_ScanNormal </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_tft.html">XTft</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xtft_8c.html">xtft.c</a>&gt;</code></p>

<p>This function enables normal scan by clearing the Display Scan Control(DPS) bit in the Control register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_tft.html" title="This structure is the base for whole of the operations that are to be performed on the TFT screen...">XTft</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_tft.html#aca9d4577a8b752a2c1a8142e5196a4db">XTft::IsReady</a>, <a class="el" href="group__tft__v5__0.html#gaccac2b2d2b56aed3798bd781ba5775a5">XTFT_CR_DPS_MASK</a>, <a class="el" href="group__tft__v5__0.html#ga5fdc2c6fd8a7dae841feb936a043dd58">XTFT_CR_OFFSET</a>, <a class="el" href="group__tft__v5__0.html#ga254efd25fdc63b78691a33ed565ae759">XTft_ReadReg()</a>, and <a class="el" href="group__tft__v5__0.html#ga6c43a240d09cc381fef702e397b2d24b">XTft_WriteReg()</a>.</p>

</div>
</div>
<a id="gaab5334330486fb514c230f98702d485a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaab5334330486fb514c230f98702d485a">&#9670;&nbsp;</a></span>XTft_ScanReverse()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XTft_ScanReverse </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_tft.html">XTft</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xtft_8c.html">xtft.c</a>&gt;</code></p>

<p>This function enables reverse scan by setting the Display Scan Control(DPS) bit in the Control register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_tft.html" title="This structure is the base for whole of the operations that are to be performed on the TFT screen...">XTft</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>By default the scan direction is reverse, the image we see in reverse scan mode is the horizontal and vertical mirror image of the image in normal scan mode. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_tft.html#aca9d4577a8b752a2c1a8142e5196a4db">XTft::IsReady</a>, <a class="el" href="group__tft__v5__0.html#gaccac2b2d2b56aed3798bd781ba5775a5">XTFT_CR_DPS_MASK</a>, <a class="el" href="group__tft__v5__0.html#ga5fdc2c6fd8a7dae841feb936a043dd58">XTFT_CR_OFFSET</a>, <a class="el" href="group__tft__v5__0.html#ga254efd25fdc63b78691a33ed565ae759">XTft_ReadReg()</a>, and <a class="el" href="group__tft__v5__0.html#ga6c43a240d09cc381fef702e397b2d24b">XTft_WriteReg()</a>.</p>

</div>
</div>
<a id="ga40c2b5ed76baff0d64b5a78b67620184"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga40c2b5ed76baff0d64b5a78b67620184">&#9670;&nbsp;</a></span>XTft_Scroll()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XTft_Scroll </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_tft.html">XTft</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xtft_8c.html">xtft.c</a>&gt;</code></p>

<p>This function inserts a new blank line at the bottom of the screen, it deletes the first line and moves the remaining lines up by one line. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_tft.html" title="This structure is the base for whole of the operations that are to be performed on the TFT screen...">XTft</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_tft.html#acc10038cdf317ab5b50ce0ec2fedcdd0">XTft::BgColor</a>, <a class="el" href="struct_x_tft.html#aca9d4577a8b752a2c1a8142e5196a4db">XTft::IsReady</a>, <a class="el" href="group__tft__v5__0.html#ga1e190b26de7e75aa55a59319c573a227">XTFT_CHAR_HEIGHT</a>, <a class="el" href="group__tft__v5__0.html#gaaeaf77de0c8548663003c19c3b772a25">XTFT_DEF_COLVAL</a>, <a class="el" href="group__tft__v5__0.html#ga3d391c05df971dfe77189be6daf57521">XTFT_DISPLAY_HEIGHT</a>, <a class="el" href="group__tft__v5__0.html#ga8cdf302af29f0563c0079c0cbfb6abff">XTFT_DISPLAY_WIDTH</a>, <a class="el" href="group__tft__v5__0.html#gad4dd01f62992007c014fc4a13d39abdf">XTft_FillScreen()</a>, <a class="el" href="group__tft__v5__0.html#ga577850dbb8a67f20b52c42a818074381">XTft_GetPixel()</a>, and <a class="el" href="group__tft__v5__0.html#ga4efcd245e6e68c56641138123e3f67cc">XTft_SetPixel()</a>.</p>

<p class="reference">Referenced by <a class="el" href="group__tft__v5__0.html#ga7416b0a7b68676ae4791aef9816683de">XTft_SetPosChar()</a>.</p>

</div>
</div>
<a id="ga689206aec1006c6231f4b10062a8eeb0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga689206aec1006c6231f4b10062a8eeb0">&#9670;&nbsp;</a></span>XTft_SetColor()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XTft_SetColor </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_tft.html">XTft</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>FgColor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>BgColor</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xtft_8c.html">xtft.c</a>&gt;</code></p>

<p>This function changes the color values in the instance structure of driver. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_tft.html" title="This structure is the base for whole of the operations that are to be performed on the TFT screen...">XTft</a> instance. </td></tr>
    <tr><td class="paramname">FgColor</td><td>is the color with which member FgColor of Instance structure is updated. </td></tr>
    <tr><td class="paramname">BgColor</td><td>is the color with which member BgColor of Instance structure is updated.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Color Values must be 32bit. They can range from 0x0 to 0xFFFFFFFF, out of these only 18 bits are valid data. These 18 bits contain the Red, Green, Blue color values with 6 bits each and bit positions as Red[8-13], Green[16-21], Blue[24-29]. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_tft.html#acc10038cdf317ab5b50ce0ec2fedcdd0">XTft::BgColor</a>, <a class="el" href="struct_x_tft.html#ab7d29e890e9981c4f9af66b426280da5">XTft::FgColor</a>, and <a class="el" href="struct_x_tft.html#aca9d4577a8b752a2c1a8142e5196a4db">XTft::IsReady</a>.</p>

<p class="reference">Referenced by <a class="el" href="xtft__example_8c.html#ac6b91e875cb351724fcbf7314572ed26">TftExample()</a>.</p>

</div>
</div>
<a id="ga56ccbb6cd6478cd5bd330ef70f733b4a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga56ccbb6cd6478cd5bd330ef70f733b4a">&#9670;&nbsp;</a></span>XTft_SetFrameBaseAddr()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XTft_SetFrameBaseAddr </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_tft.html">XTft</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UINTPTR&#160;</td>
          <td class="paramname"><em>NewFrameBaseAddr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xtft_8c.html">xtft.c</a>&gt;</code></p>

<p>This function changes the Video Memory Base address stored in the Address Register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_tft.html" title="This structure is the base for whole of the operations that are to be performed on the TFT screen...">XTft</a> instance. </td></tr>
    <tr><td class="paramname">NewFrameBaseAddr</td><td>is the new memory address value to be written to the Address register.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>The new memory address must be in the address range of external memory and it must be taken care that 2MB memory is available from this new address so that frame data to 640*480 screen can be written. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_tft___config.html#aaaf2c79008199a54c94cc69a9760a0e5">XTft_Config::AddrWidth</a>, <a class="el" href="struct_x_tft.html#aca9d4577a8b752a2c1a8142e5196a4db">XTft::IsReady</a>, <a class="el" href="struct_x_tft.html#a7b57d88c2f86585f12d2e32e18a6cd87">XTft::TftConfig</a>, <a class="el" href="struct_x_tft___config.html#a81392a22d4ef495818378bef86b06427">XTft_Config::VideoMemBaseAddr</a>, <a class="el" href="group__tft__v5__0.html#gad0b65c05fe82f1493e865d70878d5773">XTFT_AR_LSB_OFFSET</a>, <a class="el" href="group__tft__v5__0.html#ga585665d41b80da57013a246faaf7869e">XTFT_AR_MSB_OFFSET</a>, <a class="el" href="group__tft__v5__0.html#ga3f2dda8ffdcd2d04e9307cc7f3edaa11">XTFT_AR_OFFSET</a>, and <a class="el" href="group__tft__v5__0.html#ga6c43a240d09cc381fef702e397b2d24b">XTft_WriteReg()</a>.</p>

<p class="reference">Referenced by <a class="el" href="xtft__example_8c.html#ac6b91e875cb351724fcbf7314572ed26">TftExample()</a>.</p>

</div>
</div>
<a id="ga4efcd245e6e68c56641138123e3f67cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4efcd245e6e68c56641138123e3f67cc">&#9670;&nbsp;</a></span>XTft_SetPixel()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XTft_SetPixel </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_tft.html">XTft</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>ColVal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>RowVal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>PixelVal</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xtft_8c.html">xtft.c</a>&gt;</code></p>

<p>This function sets the pixel with the given color at the given column, row position. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_tft.html" title="This structure is the base for whole of the operations that are to be performed on the TFT screen...">XTft</a> instance. </td></tr>
    <tr><td class="paramname">ColVal</td><td>represents the column on the screen. The valid values are 0 to (XTFT_DISPLAY_WIDTH - 1). </td></tr>
    <tr><td class="paramname">RowVal</td><td>represents the row on the screen. The valid values are 0 to (XTFT_DISPLAY_HEIGHT - 1). </td></tr>
    <tr><td class="paramname">PixelVal</td><td>represents the color with which it will be filled on screen.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>This API is independent of the interface the TFT Controller is connected to. The data is written to the Video Memory. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_tft.html#aca9d4577a8b752a2c1a8142e5196a4db">XTft::IsReady</a>, <a class="el" href="struct_x_tft.html#a7b57d88c2f86585f12d2e32e18a6cd87">XTft::TftConfig</a>, <a class="el" href="struct_x_tft___config.html#a81392a22d4ef495818378bef86b06427">XTft_Config::VideoMemBaseAddr</a>, <a class="el" href="group__tft__v5__0.html#ga4d27aca52ce921aee61dab5870700c5b">XTFT_DISPLAY_BUFFER_WIDTH</a>, <a class="el" href="group__tft__v5__0.html#ga3d391c05df971dfe77189be6daf57521">XTFT_DISPLAY_HEIGHT</a>, and <a class="el" href="group__tft__v5__0.html#ga8cdf302af29f0563c0079c0cbfb6abff">XTFT_DISPLAY_WIDTH</a>.</p>

<p class="reference">Referenced by <a class="el" href="group__tft__v5__0.html#gad4dd01f62992007c014fc4a13d39abdf">XTft_FillScreen()</a>, and <a class="el" href="group__tft__v5__0.html#ga40c2b5ed76baff0d64b5a78b67620184">XTft_Scroll()</a>.</p>

</div>
</div>
<a id="gabb17655cf7670fad99d96f1e92692b05"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabb17655cf7670fad99d96f1e92692b05">&#9670;&nbsp;</a></span>XTft_SetPos()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XTft_SetPos </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_tft.html">XTft</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>ColVal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>RowVal</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xtft_8c.html">xtft.c</a>&gt;</code></p>

<p>This function updates the column, row position in the Instance structure of driver. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_tft.html" title="This structure is the base for whole of the operations that are to be performed on the TFT screen...">XTft</a> instance. </td></tr>
    <tr><td class="paramname">ColVal</td><td>is the column number to which ColVal member of Instance structure is updated. The valid values are 0 to (XTFT_DISPLAY_WIDTH - 1). </td></tr>
    <tr><td class="paramname">RowVal</td><td>is the row number to which RowVal member of Instance structure is updated. The valid values are 0 to (XTFT_DISPLAY_HEIGHT - 1).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_tft.html#acef1fa311d00ad95aca04546f827e27b">XTft::ColVal</a>, <a class="el" href="struct_x_tft.html#aca9d4577a8b752a2c1a8142e5196a4db">XTft::IsReady</a>, <a class="el" href="struct_x_tft.html#a2fea2e6b537433ac6dde7d97eb340577">XTft::RowVal</a>, <a class="el" href="group__tft__v5__0.html#ga3d391c05df971dfe77189be6daf57521">XTFT_DISPLAY_HEIGHT</a>, and <a class="el" href="group__tft__v5__0.html#ga8cdf302af29f0563c0079c0cbfb6abff">XTFT_DISPLAY_WIDTH</a>.</p>

<p class="reference">Referenced by <a class="el" href="group__tft__v5__0.html#ga1cc88ecc501ab053fdccbcb270315068">XTft_Write()</a>.</p>

</div>
</div>
<a id="ga7416b0a7b68676ae4791aef9816683de"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7416b0a7b68676ae4791aef9816683de">&#9670;&nbsp;</a></span>XTft_SetPosChar()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XTft_SetPosChar </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_tft.html">XTft</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>ColVal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>RowVal</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xtft_8c.html">xtft.c</a>&gt;</code></p>

<p>This function changes the column, row position in the Instance structure of driver. </p>
<p>It is used to correct the position for the next character to be written if column and row position cross limits.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_tft.html" title="This structure is the base for whole of the operations that are to be performed on the TFT screen...">XTft</a> instance. </td></tr>
    <tr><td class="paramname">ColVal</td><td>is the column number to which ColVal member of Instance structure is updated. If ColVal crosses (XTFT_DISPLAY_WIDTH - 1) - XTFT_CHAR_WIDTH, position is moved to next line. The valid values are 0 to (XTFT_DISPLAY_WIDTH - 1). </td></tr>
    <tr><td class="paramname">RowVal</td><td>is the row number to which RowVal member of Instance structure is updated. If RowVal crosses (XTFT_DISPLAY_HEIGHT - 1)- XTFT_CHAR_HEIGHT, the first line will be deleted. The valid values are 0 to (XTFT_DISPLAY_HEIGHT - 1).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>This function differs from the function XTft_SetPos because you cannot move to any position on the screen as we have to check for enough space for a character to be written. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_tft.html#acef1fa311d00ad95aca04546f827e27b">XTft::ColVal</a>, <a class="el" href="struct_x_tft.html#aca9d4577a8b752a2c1a8142e5196a4db">XTft::IsReady</a>, <a class="el" href="struct_x_tft.html#a2fea2e6b537433ac6dde7d97eb340577">XTft::RowVal</a>, <a class="el" href="group__tft__v5__0.html#ga1e190b26de7e75aa55a59319c573a227">XTFT_CHAR_HEIGHT</a>, <a class="el" href="group__tft__v5__0.html#ga6da9efdd6a18854c2994f2260e2b1482">XTFT_CHAR_WIDTH</a>, <a class="el" href="group__tft__v5__0.html#gaaeaf77de0c8548663003c19c3b772a25">XTFT_DEF_COLVAL</a>, <a class="el" href="group__tft__v5__0.html#ga3d391c05df971dfe77189be6daf57521">XTFT_DISPLAY_HEIGHT</a>, <a class="el" href="group__tft__v5__0.html#ga8cdf302af29f0563c0079c0cbfb6abff">XTFT_DISPLAY_WIDTH</a>, and <a class="el" href="group__tft__v5__0.html#ga40c2b5ed76baff0d64b5a78b67620184">XTft_Scroll()</a>.</p>

<p class="reference">Referenced by <a class="el" href="group__tft__v5__0.html#ga1cc88ecc501ab053fdccbcb270315068">XTft_Write()</a>.</p>

</div>
</div>
<a id="ga1cc88ecc501ab053fdccbcb270315068"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1cc88ecc501ab053fdccbcb270315068">&#9670;&nbsp;</a></span>XTft_Write()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XTft_Write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_tft.html">XTft</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>CharValue</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xtft_8c.html">xtft.c</a>&gt;</code></p>

<p>This function performs one of the following three operations based on the CharValue passed : </p>
<ul>
<li>Move the position to the next line at the same position.</li>
<li>Move the position to the next line.</li>
<li>Write a particular character and update the column position by the width of the character.</li>
</ul>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_tft.html" title="This structure is the base for whole of the operations that are to be performed on the TFT screen...">XTft</a> instance. </td></tr>
    <tr><td class="paramname">CharValue</td><td>is the ASCII code value of the character to be written.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>As the character bitmap array does not support some of the ASCII values, to support some of those which carry significance in display are added in the switch case. If there is a necessity for any other characters, it can be added here. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_tft.html#acef1fa311d00ad95aca04546f827e27b">XTft::ColVal</a>, <a class="el" href="struct_x_tft.html#aca9d4577a8b752a2c1a8142e5196a4db">XTft::IsReady</a>, <a class="el" href="struct_x_tft.html#a2fea2e6b537433ac6dde7d97eb340577">XTft::RowVal</a>, <a class="el" href="group__tft__v5__0.html#ga1e190b26de7e75aa55a59319c573a227">XTFT_CHAR_HEIGHT</a>, <a class="el" href="group__tft__v5__0.html#gaaeaf77de0c8548663003c19c3b772a25">XTFT_DEF_COLVAL</a>, <a class="el" href="group__tft__v5__0.html#gabb17655cf7670fad99d96f1e92692b05">XTft_SetPos()</a>, and <a class="el" href="group__tft__v5__0.html#ga7416b0a7b68676ae4791aef9816683de">XTft_SetPosChar()</a>.</p>

<p class="reference">Referenced by <a class="el" href="xtft__example_8c.html#ac6b91e875cb351724fcbf7314572ed26">TftExample()</a>.</p>

</div>
</div>
<a id="ga6c43a240d09cc381fef702e397b2d24b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6c43a240d09cc381fef702e397b2d24b">&#9670;&nbsp;</a></span>XTft_WriteReg()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XTft_WriteReg </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_tft.html">XTft</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>RegOffset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Data</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xtft_8c.html">xtft.c</a>&gt;</code></p>

<p>Write a value to a TFT register. </p>
<p>A 32 bit write is performed.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_tft.html" title="This structure is the base for whole of the operations that are to be performed on the TFT screen...">XTft</a> instance. </td></tr>
    <tr><td class="paramname">RegOffset</td><td>is the register offset from the base to write to. </td></tr>
    <tr><td class="paramname">Data</td><td>is the data written to the register.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_tft___config.html#af13b84d730fc82272b844c4f787a5142">XTft_Config::BaseAddress</a>, <a class="el" href="struct_x_tft.html#aca9d4577a8b752a2c1a8142e5196a4db">XTft::IsReady</a>, and <a class="el" href="struct_x_tft.html#a7b57d88c2f86585f12d2e32e18a6cd87">XTft::TftConfig</a>.</p>

<p class="reference">Referenced by <a class="el" href="group__tft__v5__0.html#ga5324d540859b06ca950fbf07d466a7fe">XTft_DisableDisplay()</a>, <a class="el" href="group__tft__v5__0.html#ga308d28143a386bcde54db714f43ae737">XTft_EnableDisplay()</a>, <a class="el" href="group__tft__v5__0.html#ga1bc1f7d9c152c6e661cd125f4c190dd8">XTft_IntrDisable()</a>, <a class="el" href="group__tft__v5__0.html#ga3241465696077377ea4000f4caca21a7">XTft_IntrEnable()</a>, <a class="el" href="group__tft__v5__0.html#ga62eadbfc2233460b7ae8003c34347c01">XTft_ScanNormal()</a>, <a class="el" href="group__tft__v5__0.html#gaab5334330486fb514c230f98702d485a">XTft_ScanReverse()</a>, and <a class="el" href="group__tft__v5__0.html#ga56ccbb6cd6478cd5bd330ef70f733b4a">XTft_SetFrameBaseAddr()</a>.</p>

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a id="ga00b919b8b293fc3b45cceee84d27e65b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga00b919b8b293fc3b45cceee84d27e65b">&#9670;&nbsp;</a></span>XTft_ConfigTable <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_x_tft___config.html">XTft_Config</a> XTft_ConfigTable[]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xtft__sinit_8c.html">xtft_sinit.c</a>&gt;</code></p>

<p>The configuration table for TFT devices in the table. </p>
<p>Each device should have an entry in this table. </p>

</div>
</div>
<a id="ga00b919b8b293fc3b45cceee84d27e65b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga00b919b8b293fc3b45cceee84d27e65b">&#9670;&nbsp;</a></span>XTft_ConfigTable <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_x_tft___config.html">XTft_Config</a> XTft_ConfigTable[]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xtft__g_8c.html">xtft_g.c</a>&gt;</code></p>
<b>Initial value:</b><div class="fragment"><div class="line">=</div><div class="line">{</div><div class="line">        {</div><div class="line">                XPAR_TFT_0_DEVICE_ID,</div><div class="line">                XPAR_TFT_0_BASEADDR,</div><div class="line">                XPAR_TFT_0_DEFAULT_TFT_BASE_ADDR,</div><div class="line">                XPAR_TFT_0_ADDR_WIDTH</div><div class="line">        }</div><div class="line">}</div></div><!-- fragment -->
<p>The configuration table for TFT devices in the table. </p>
<p>Each device should have an entry in this table. </p>

</div>
</div>
<a id="gac1b688c0177c8178bfcf44c1b099bbe7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac1b688c0177c8178bfcf44c1b099bbe7">&#9670;&nbsp;</a></span>XTft_VidChars</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 XTft_VidChars[96][12]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xtft__charcode_8h.html">xtft_charcode.h</a>&gt;</code></p>

<p>Character array of 96 characters with each character having dimensions of width 8 and height 12 pixels. </p>
<p>It starts with space as first character. </p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Copyright &copy; 2015 Xilinx Inc. All rights reserved.</li>
  </ul>
</div>
</body>
</html>
